package com.guiji.quartz.task;

import com.guiji.quartz.domain.NingboXinwen;
import com.guiji.quartz.domain.QuanzhouXinwen;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @program: cms-vue-plus
 * @description:
 * @author: gaoX
 * @create: 2021-10-25 11:00
 **/
@Component("quanzhouXinwenTask")
public class QuanzhouXinwenTask {
	private static final Logger log = LoggerFactory.getLogger(QuanzhouXinwenTask.class);
	public void quanzhouXinwenTask() throws Exception {
		Long startTime = System.currentTimeMillis();
		QuanzhouXinwen quanzhouXinwen= new QuanzhouXinwen();
		try {
			quanzhouXinwen.mainMethod();
		} catch (Exception e) {
		}finally {
			log.info("QuanzhouXinwenTask-end-:{}",System.currentTimeMillis()-startTime);
		}

	}
}
